package com.lab.book.common.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginHistory implements Serializable {
	private static final long serialVersionUID = 1L;

	private String username;
	private Set<LoginDetail> details = new HashSet<LoginDetail>();
	private Date lastLoginDate;
	private Integer in1HourFailureTimes;

}